﻿@model CallCenter.Data.Models.LoginViewModel
@{
    ViewBag.Title = "Login";
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">
<head>

    <meta charset="utf-8" />
    <title>@Page.Title</title>
    <link href="~/Images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <link href="~/Content/login.css" rel="stylesheet" />
    <link href="~/Content/login.css" rel="stylesheet" />
</head>
<body>
    <div class="container header-v2-container">
        <input type="type" name="name" value=" " onchange="" />
        <div class="sixteen columns clearfix">

            <div class="four columns alpha">
                <div class="logo">
                    <a href="http://www.hrknowledge.com/">
                        <img src="~/Content/Images/hr-knowledge.jpg" alt="HR Knowledge" class="logo_standard">
                    </a>
                </div>
            </div>


        </div>

    </div>

    <div style="margin-top:120px;">
        @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
        {
            @Html.AntiForgeryToken()

            <div class="box">
                <h1>Login</h1>
                @Html.ValidationSummary(true)
                @if (!string.IsNullOrEmpty(@ViewBag.Error))
                {
                    <div class="validation-summary-errors text-danger">
                        <ul>
                            <li>
                                @ViewBag.Error
                            </li>
                        </ul>
                    </div>
                }
             
                <p>
                    @Html.LabelFor(model => model.UserName)
                    <div>
                        @Html.TextBoxFor(model => model.UserName, new { @class = "input_text" })
                        @Html.ValidationMessageFor(model => model.UserName)
                    </div>
                </p>
                <div>
                    @Html.LabelFor(model => model.Password)
                    <div>
                        @Html.PasswordFor(model => model.Password, new { @class = "input_text" })
                        @Html.ValidationMessageFor(model => model.Password)
                    </div>
                </div>
                <div style="margin-top:10px;">
                    <span>
                        <input type="submit" class="button" value="Log in" />
                        @Html.ActionLink("Signup", "Register", null, new { @class = "button" })
                    </span>
                </div>
            </div>
        }
    </div>
</body>
</html>